package com.stars.common.base;

/**
 * @author : alex
 * @version ：1.0.0
 * @Date : create by 2018/2/4 18:07
 * @description ：请求提示定义
 * @note 注意事项
 */
public class BaseMsg {

    /**系统异常*/
    public final static String SYSTEM_ERROR = "系统异常";
    /** 无权访问1001*/
    public final static String NOT_PERMISSION = "无权访问";
    /**成功:000*/
    public final static String SUCCESS = "成功";
    public final static String SAVE_FAILURE = "保存失败";
    public final static String UPDATE_FAILURE = "更新失败";
    public final static String DEL_FAILURE = "删除失败";
    public final static String DEL_FAILURE_STATUS = DEL_FAILURE+"，当前状态不能删除";
    /**用户已存在:001*/
    public final static String USER_EXISTED = "用户已存在";
    /**推荐关系已存在:002*/
    public final static String REC_EXISTED = "推荐关系已存在";
    /**推荐用户不存在003*/
    public final static String REC_NOT_EXISTED = "推荐用户不存在";
    /**token不存在或者无效004*/
    public final static String TOKEN_NOT_EXISTED = "登陆过期，请重新登陆！";
    /**用户不存在或者无效005*/
    public final static String USER_NOT_EXISTED = "用户不存在或者无效";
    /**更新类型错误006*/
    public final static String UPDATE_TYPE_ERROR = "更新类型错误";
    /**发送短信失败007
    public final static String SEND_SMS_ERROR = "发送短信失败";
    /**短信验证码错误008
    public final static String SEND_SMS_NOT_EXISTED = "短信验证码错误";
    /**009*/
    public final static String SEND_SMS_BUSY = "发送短信验证码太过频繁";
    /**用户手机号已经注册010*/
    public final static String USER_PHONE_EXISTED = "用户手机号已经注册";
    /**011*/
    public final static String NOT_EXISTED = "参数错误";
    /** 012*/
    public final static String ADDRESS_NOT_EXISTED = "用户地址不存在";
    /** 商品类型不存在013*/
    public final static String SEL_NOT_EXISTED = "没有要查询的数据";
    /** 订单不存在014*/
    public final static String ORDER_NOT_EXISTED = "订单不存在";
    /** 商品不存在015*/
    public final static String COMMODITY_NOT_EXISTED = "商品不存在";
    /** 支付失败016*/
    public final static String PAY_ERROR = "支付失败";

    public final static String MODULAR_PAGE = "分页查询";
    public final static String MODULAR_SEARCH = "查询";
    public final static String MODULAR_ADD = "保存";
    public final static String MODULAR_DEL = "删除";
    public final static String MODULAR_UPDATE = "更新";
    public final static String MODULAR_FIND_ID = "根据ID查询";


}
